package com.lmk.ms.autoconfigure.doc;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Knife4j配置参数
 *
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2021/07/14
 */
@Component
@ConfigurationProperties(prefix = "knife4j.openapi")
public class MsDocProperties {

    /**
     * 页面标题
     */
    private String title = "Mirco Service Framework";

    /**
     * 版本号
     */
    private String version = "1.0";

    /**
     * 页面副标题
     */
    private String description = "服务接口文档及测试";

    /**
     * 联系人姓名
     */
    private String concat = "lmk";

    /**
     * 联系人网址
     */
    private String url = "https://www.laomake.com";

    /**
     * 联系人邮箱
     */
    private String email = "laomake@hotmail.com";

    public MsDocProperties() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getConcat() {
        return concat;
    }

    public void setConcat(String concat) {
        this.concat = concat;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
